<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<style>
    * {
        padding: 0;
        left: 0;
    }
    .home {
        width: 100vw;
        height: 100vh;
        text-align: center;
    }
    .home:before {
        content: '';
        display: inline-block;
        vertical-align: middle;
        height: 100%;

    }
    .home .room {
        display: inline-block;
        vertical-align: center;
        background-color: red;
    }
</style>
<body>
<div class="home">
    <div class="room">
        weqeqweqweqweqwe
    </div>
</div>
</body>
<script>
</script>
</html>